{if $content.catalogs}
	{include file='widget/title-color.tpl' color="gray" title="Каталог товаров"}
	<div>
		{foreach from=$content.catalogs item=catalog }
			<a {*nohref="nohref"*} href="{$catalog.link|escape}" subid="{$catalog.id|escape}" class="cat-root{if $catalog.is_active} cat-root-active{/if}">
				{$catalog.name|escape}
			</a>
			{if $catalog.items}
				{include file='catalogs/subcatalogs-first.tpl' items=$catalog.items id=$catalog.id showIt=$catalog.is_active}
			{/if}
		{/foreach}
	</div>
	{include file='widget/corner-bottom-color.tpl' color="grey"}
{/if}

